<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@include file="../WEB-INF/jspf/controlesessao.jspf"%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" href="../../css/forms.css">
        <script type="text/javascript" src="../../js/jquery.js" ></script>
        <script type="text/javascript" src="../../js/jquery.validate.js"></script>
        <script type="text/javascript" src="../../js/forms.js"></script>
        <script type="text/javascript" src="../../js/jquery-ui-1.8.2.custom.min.js" ></script>
        <script type="text/javascript" src="../../js/jquery.ui.datepicker-pt-BR.js" ></script>
        <link rel="stylesheet" href="../../css/ui-lightness/jquery-ui-1.8.2.custom.css">
        <title>sgd</title>
        <script>
            $(document).ready(function(){
                $("#form").validate({
                    submitHandler: function(form) {
                        print(form);
                        //form.submit();
                    }
                });
            });

            $(function() {
                $("#data_inicio").datepicker();
                $("#data_fim").datepicker();

            });
        </script>
    </head>
    <body>
        <div id="formulario">
            <h1>Disponibilidade de Docentes</h1>
            <form id="form" action="view.jsp" method="post">
                <fieldset>
                    <legend>Parâmetros</legend>
                    <input id="relatorio" name="relatorio" value="disponibilidade_docentes" type="hidden">
                    <label class="lbInput">Matrícula de</label>
                    <input name="mat_de" value="000000"><br>
                    <label class="lbInput">Matrícula de</label>
                    <input name="mat_ate" value="999999"><br>
                    <label class="lbInput">Data início</label>
                    <input id="data_inicio"  name="data_inicio" value=""><br>
                    <label class="lbInput">Data fim</label>
                    <input id="data_fim"  name="data_fim" value=""><br>
                    <input type="image" src="../../imagens/procurar.png">
                </fieldset>
            <input type="hidden" id="token" name="token" value="${sessionScope.token}" /> </form>
            <br>
            <dir id="report" style="border:1px solid #fcfcfc">

            </dir>
        </div>


    </body>
</html>
